<template>
  <div class="login">
    <div class="login-head">
      <img src="../assets/login-bg.png" alt="">
    </div>
    <div class="user">
      <img src="../assets/user1.png" alt="" v-if="">
      <img src="../assets/user2.png" alt="" v-if="false">
      <input type="text" placeholder="用户名">
    </div>
    <div class="password">
      <img src="../assets/password1.png" alt="" v-if="">
      <img src="../assets/password2.png" alt="" v-if="false">
      <input type="text" placeholder="请输入密码">
    </div>
    <div class="login-btn">
      <router-link to="./user"><img src="../assets/login-btn.png" alt=""></router-link>
    </div>
    <div class="register-btn">
      <router-link to="./register"><img src="../assets/register.png" alt=""></router-link>
    </div>
    <div class="join-btn">
      <router-link to="/register/invitation_code">加入公司</router-link>
    </div>
  </div>
</template>

<script>
</script>

<style scoped>
  bgdy {
    background-color: #fff;
  }

  img,input {
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-appearance: none;
    border-radius: 0;
  }

  .login {
    width: 100%;
  }

  .login-head {
    width: 100%;
    height: 4.62rem;
    margin-bottom: 1rem;
  }

  .login-head img {
    width: 100%;
  }

  .user {
    display: flex;
    height: 0.68rem;
    padding: 0 1.26rem;
  }

  .user img {
      width: 0.46rem;
      height: 0.46rem;
      margin-top: 0.12rem;
      margin-right: 0.2rem;
    }

  .password img {
    width: 0.46rem;
    height: 0.5rem;
    margin-top: 0.1rem;
    margin-right: 0.2rem;
  }

  input {
    flex: 1;
    font-size: 0.32rem;
    color: #282828;
    border: none;
    border-bottom: 1px solid #c1c0c0;
  }

  .password {
    display: flex;
    height: 0.68rem;
    padding: 0 1.26rem;
    margin: 0.5rem 0 0.92rem 0
  }

  .login-btn,
  .register-btn {
    padding: 0 0.98rem;
    margin-bottom: 0.26rem;
    height: 0.94rem;
  }

  .login-btn img,
  .register-btn img {
    width: 100%;
  }

  .join-btn {
    padding: 0 1.6rem;
    font-size: 0.32rem;
    color: #888;
    text-align: right;
  }

</style>
